package org.zfes.snowier.cloud.zbss.pmp.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class PmpCloudMember extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public PmpCloudMember() {}
	public PmpCloudMember(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	  private java.lang.Long cloudGroupId;
	@javax.validation.constraints.NotBlank(message="项目成员不能为空")
	@javax.validation.constraints.NotNull(message="项目成员不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="项目成员长度不能大于50")
	  private java.lang.String userName;
	@javax.validation.constraints.NotNull(message="成员类型不能为空")
	  private java.lang.Byte userType;
	  private java.util.Date updatetime;
	  private java.util.Date createtime;
	@javax.validation.constraints.NotNull(message="状态不能为空")
	  private java.lang.Byte status;
	  private java.lang.Byte positionLevel;
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="头像长度不能大于255")
	  private java.lang.String userLogo;
	//<-------------------------------------------->
	public PmpCloudMember setCloudGroupId(java.lang.Long cloudGroupId){
	 this.cloudGroupId=cloudGroupId;
	 return this;
	}
	public java.lang.Long getCloudGroupId(){
		return this.cloudGroupId;
	}
	public PmpCloudMember setUserName(java.lang.String userName){
		this.userName=userName==null?null:userName.trim();
	 return this;
	}
	public java.lang.String getUserName(){
		return this.userName;
	}
	public PmpCloudMember setUserType(java.lang.Byte userType){
	 this.userType=userType;
	 return this;
	}
	public java.lang.Byte getUserType(){
		return this.userType;
	}
	public PmpCloudMember setUpdatetime(java.util.Date updatetime){
	 this.updatetime=updatetime;
	 return this;
	}
	public java.util.Date getUpdatetime(){
		return this.updatetime;
	}
	public PmpCloudMember setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}
	public PmpCloudMember setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public PmpCloudMember setPositionLevel(java.lang.Byte positionLevel){
	 this.positionLevel=positionLevel;
	 return this;
	}
	public java.lang.Byte getPositionLevel(){
		return this.positionLevel;
	}
	public PmpCloudMember setUserLogo(java.lang.String userLogo){
		this.userLogo=userLogo==null?null:userLogo.trim();
	 return this;
	}
	public java.lang.String getUserLogo(){
		return this.userLogo;
	}

}
